/**
 * Created by xiangjiayu on 2017/5/31.
 */
import immutable from 'immutable';
import Mock from 'mockjs';

var constants = function () {

};
export default constants;

let priceList = [];
var Random = Mock.Random;

for(var i=0; i<=20; i++){
  priceList.push(
        Mock.mock({
            "region|1": Random.city(),
            "state|1":[
                '待上架',
                '已上架',
                '已下架',
            ],
        })
    );

}
constants.priceListTable = immutable.fromJS(priceList);